// d3d_device.cpp
//

#include "../tr_local.h"

#ifdef ID_PC
#include "../../win32/win_local.h"
#endif

/*
** InitOpenGL
**
** This function is responsible for initializing a valid OpenGL subsystem.  This
** is done by calling GLimp_Init (which gives us a working OGL subsystem) then
** setting variables, checking GL constants, and reporting the gfx system config
** to the user.
*/
void InitOpenGL( void ) {
	if(tr.registered) {
		return;
	}

	// Create the win32 window.
	GLimp_Init();

	// Init Direct3D
	tr.InitDevice();

	tr.registered = true;
}




/*
==================
GL_CheckErrors
==================
*/
void GL_CheckErrors( void ) {

}

/*
==================
R_TakeScreenshot
==================
*/
void R_TakeScreenshot( int x, int y, int width, int height, char *fileName ) {

}

/*
==============
R_TakeScreenshotJPEG
==============
*/
void R_TakeScreenshotJPEG( int x, int y, int width, int height, char *fileName ) {

}

/*
================
GfxInfo_f
================
*/
void GfxInfo_f( void ) {
	
}


